<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../5.25/vue.js"></script>
</head>
<body>
    <div id="app">
        <p>我是跟元素（标签）</p>
    </div>
</body>
<script>
    var vm=new Vue({
        el:"#app",
    })
    //根据html的标签的注入方式来完成
    vm.$el.innerHTML="<div>我是被替换后的内容</div>"
</script>
</html>